
package com.bangcommunity.bbframe.dynconfig.parser;

/**
 * Created by tanghc
 */
public class BooleanConfigValueParser extends ConfigValueParser<Boolean> {

    @Override
    public Boolean doParse(String v) {
        return v.equals("true") || v.equals("1") || v.equals("on");
    }
}
